From: Florian Müllner Date: Mon, 2 Sep 2019 22:25:24 +0000 (+0200) Subject: keyboard: Fix EmojiSelection:delta range X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~827^2^2~4 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3768b6b701fa3590606fead2622efcb3300d06a1;p=gnome-shell.git keyboard: Fix EmojiSelection:delta range The setter clamps the values to the range (-width, width), so we must not limit the property to positive values. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/698 --- diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 462d860c4..d137d84b6 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -574,7 +574,7 @@ var EmojiPager = GObject.registerClass({ 'delta': GObject.ParamSpec.int( 'delta', 'delta', 'delta', GObject.ParamFlags.READWRITE, - 0, GLib.MAXINT32, 0) + GLib.MININT32, GLib.MAXINT32, 0) }, Signals: { 'emoji': { param_types: [GObject.TYPE_STRING] },